package com.drama.api.company.order.domain.po;

import com.drama.api.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "order_consume")
public class OrderConsumePO extends BaseEntity {
    /**
     * 订单编号
     */
    @Column(name = "order_no")
    private Integer orderNo;

    /**
     * 充值用户ID
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 公司ID
     */
    @Column(name = "company_id")
    private String companyId;

    /**
     * 剧目ID
     */
    @Column(name = "drama_id")
    private String dramaId;

    /**
     * 视频ID
     */
    @Column(name = "video_id")
    private String videoId;

    /**
     * 商品数量
     */
    @Column(name = "order_num")
    private Integer orderNum;


}